home *** CD-ROM | disk | FTP | other *** search
- Path: telesciences.com!fluorite!tnelson
- From: tnelson@fluorite.telesciences.com (Tracy M Nelson)
- Newsgroups: comp.lang.c
- Subject: Re: HELP NEEDED: What the hell is wrong with my program?
- Date: 12 Jan 1996 18:24:41 GMT
- Organization: Securicor Telesciences Inc
- Message-ID: <4d6919$3oi@artinite.telesciences.com>
- References: <4cvu6r$vcs@carbon.cudenver.edu>
- NNTP-Posting-Host: fluorite.telesciences.com
- X-Newsreader: Tin 1.1 PL5
-
- ELLIE XIAO-YU LI (exli@ouray.cudenver.edu) wrote:
- : I am writing a C program on unix platforms. When I run my program, I keep
- : getting a system warning "Unaligned access...". Does anyone out there know what
- : this "unaligned access" crap is and what cuases the problem? Any advice on how
- : to fix the problem is appreciated. Please reply to this post or email me.
-
- You're not casting a character buffer to a long or anything, are you? If you've
- got a four-byte (char) buffer, you can't necessarily get a long out of it simply
- by casting it.
-
- --
- Tracy Nelson (tnelson@telesciences.com)
- // WARNING: May contain code which is too intense for young programmers...
- Disclaimer: Park and lock it. Not responsible!
-